<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Optimist Racing: GenericData Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo-small.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">Optimist Racing
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A video game where you must literally keep your head up</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.2 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_generic_data.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_generic_data-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">GenericData Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_data_8hpp_source.html">Data.hpp</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for GenericData:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_generic_data.png" usemap="#GenericData_map" alt=""/>
  <map id="GenericData_map" name="GenericData_map">
<area href="class_ambience_render_data.html" alt="AmbienceRenderData" shape="rect" coords="187,56,364,80"/>
<area href="class_electric_material_data.html" alt="ElectricMaterialData" shape="rect" coords="187,112,364,136"/>
<area href="class_floor_data.html" alt="FloorData" shape="rect" coords="187,168,364,192"/>
<area href="class_floor_render_data.html" alt="FloorRenderData" shape="rect" coords="187,224,364,248"/>
<area href="class_item_data.html" alt="ItemData" shape="rect" coords="187,280,364,304"/>
<area href="class_item_render_data.html" alt="ItemRenderData" shape="rect" coords="187,336,364,360"/>
<area href="class_lagrangian_racer_data.html" alt="LagrangianRacerData" shape="rect" coords="187,392,364,416"/>
<area href="class_lagrangian_racer_render_data.html" alt="LagrangianRacerRenderData" shape="rect" coords="187,448,364,472"/>
<area href="class_world_data.html" alt="WorldData" shape="rect" coords="187,504,364,528"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a53d266970be68cd208cabbf1b029b96b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a53d266970be68cd208cabbf1b029b96b">GenericData</a> ()</td></tr>
<tr class="separator:a53d266970be68cd208cabbf1b029b96b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ab691aa9487309b2c4d9f5a0be19464"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a9ab691aa9487309b2c4d9f5a0be19464">~GenericData</a> ()</td></tr>
<tr class="separator:a9ab691aa9487309b2c4d9f5a0be19464"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93ea61de5b09cf3fc95564ef3d841214"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a93ea61de5b09cf3fc95564ef3d841214">write</a> (std::ostream &amp;out) const =0</td></tr>
<tr class="separator:a93ea61de5b09cf3fc95564ef3d841214"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71e231ef04c9a91a3429123dab5bd1e7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a71e231ef04c9a91a3429123dab5bd1e7">read</a> (std::istream &amp;in)=0</td></tr>
<tr class="separator:a71e231ef04c9a91a3429123dab5bd1e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2b2fb8564b784d61b99ab4f7fd95dc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#ab2b2fb8564b784d61b99ab4f7fd95dc2">writeFile</a> (const std::string filepath) const </td></tr>
<tr class="separator:ab2b2fb8564b784d61b99ab4f7fd95dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d833405e216a292dc0655692df370e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_generic_data.html#a7d833405e216a292dc0655692df370e1">readFile</a> (const std::string filepath)</td></tr>
<tr class="separator:a7d833405e216a292dc0655692df370e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a53d266970be68cd208cabbf1b029b96b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GenericData::GenericData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a9ab691aa9487309b2c4d9f5a0be19464"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GenericData::~GenericData </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a71e231ef04c9a91a3429123dab5bd1e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void GenericData::read </td>
          <td>(</td>
          <td class="paramtype">std::istream &amp;&#160;</td>
          <td class="paramname"><em>in</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="class_world_data.html#aa80956a9e1337417f570f776edeb1c5e">WorldData</a>, <a class="el" href="class_item_render_data.html#afbda96d49108440c6ce4a9c0b541116f">ItemRenderData</a>, <a class="el" href="class_item_data.html#a71b90a70f427ee1d2417f3f0c7302c9e">ItemData</a>, <a class="el" href="class_ambience_render_data.html#a051acf84a9c31c6e439e7d7e7445ef47">AmbienceRenderData</a>, <a class="el" href="class_lagrangian_racer_render_data.html#aa5174615686e62f00cf5d71ff870e5ca">LagrangianRacerRenderData</a>, <a class="el" href="class_lagrangian_racer_data.html#a5985c44e28872d0064596a3104f2feff">LagrangianRacerData</a>, <a class="el" href="class_floor_render_data.html#a781daa3645a4924dc9f5df99a0c28b67">FloorRenderData</a>, <a class="el" href="class_floor_data.html#a137a204c7e37ac44eb721e984b5dad4c">FloorData</a>, and <a class="el" href="class_electric_material_data.html#ab63a0313df28615504c4a7c57adef637">ElectricMaterialData</a>.</p>

</div>
</div>
<a class="anchor" id="a7d833405e216a292dc0655692df370e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GenericData::readFile </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"><em>filepath</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a93ea61de5b09cf3fc95564ef3d841214"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void GenericData::write </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&#160;</td>
          <td class="paramname"><em>out</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Implemented in <a class="el" href="class_world_data.html#aa8a0d950e6d52f7c7baebb722804f55d">WorldData</a>, <a class="el" href="class_item_render_data.html#a13f92fc9e5386ef04fb736fbacc17a7e">ItemRenderData</a>, <a class="el" href="class_item_data.html#aff74199fbef4ff9f8b06c186173e69ea">ItemData</a>, <a class="el" href="class_ambience_render_data.html#a04e058a2c8b174def8c381a19ede0d12">AmbienceRenderData</a>, <a class="el" href="class_lagrangian_racer_render_data.html#a5df4617924f398cd1bf7c0fd633e8020">LagrangianRacerRenderData</a>, <a class="el" href="class_lagrangian_racer_data.html#adbea50ddbb24883866bb828985fa6164">LagrangianRacerData</a>, <a class="el" href="class_floor_render_data.html#a0303743e7939b4cf8bd9c155b79c07f3">FloorRenderData</a>, <a class="el" href="class_floor_data.html#acbd1e6dfa4e2112d1e53c1dfd0703ee4">FloorData</a>, and <a class="el" href="class_electric_material_data.html#a81244b200484e145a684c56e6f9f1252">ElectricMaterialData</a>.</p>

</div>
</div>
<a class="anchor" id="ab2b2fb8564b784d61b99ab4f7fd95dc2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void GenericData::writeFile </td>
          <td>(</td>
          <td class="paramtype">const std::string&#160;</td>
          <td class="paramname"><em>filepath</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Owner/My Programming/Personal Projects/VideoGames/Optimist Racing/src/<a class="el" href="_data_8hpp_source.html">Data.hpp</a></li>
<li>C:/Users/Owner/My Programming/Personal Projects/VideoGames/Optimist Racing/src/<a class="el" href="_data_8cpp.html">Data.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_generic_data.html">GenericData</a></li>
    <li class="footer">Generated on Sun Oct 28 2012 13:14:38 for Optimist Racing by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.2 </li>
  </ul>
</div>
</body>
</html>
